package com.yanfan.zutai.domain;

import com.yanfan.common.annotation.Excel;
import com.yanfan.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 报警配置对象 b_device_warn_config
 *
 * @author ruoyi
 * @date 2022-06-01
 */
@Data
public class BDeviceWarnConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id唯一标识
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 变量guid
     */
    private String realDataGuid;

    /**
     * 报警条件
     */
    @Excel(name = "报警条件")
    private Integer warnCondition;

    /**
     * 报警内容
     */
    @Excel(name = "报警内容")
    private String warnContent;

    /**
     * 报警方式
     */
    @Excel(name = "报警方式")
    private String warnType;

    /**
     * 是否启用
     */
    @Excel(name = "是否启用")
    private Integer status;

    /**
     * 报警值
     */
    @Excel(name = "报警值")
    private Double warnValue;
    /*like查询*/
    private String realDataGuidLike;
    /**
     * 变量名称
     */
    @Excel(name = "变量名称")
    private String paramName;

    /**
     * 变量值
     */
    @Excel(name = "变量值")
    private String paramValue;
    /**
     * 是否控制
     */
    @Excel(name = "是否控制")
    private Boolean isContro;

}
